package com.sxhalo.fsms.mapper;

import com.sxhalo.fsms.domain.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface DeviceElectricRunningDataMapper {

    int deleteByPrimaryKey(DeviceElectricRunningDataKey id);

    int insert(DeviceElectricRunningData record);

    int insertSelective(DeviceElectricRunningData record);

    DeviceElectricRunningData selectByPrimaryKey(DeviceElectricRunningDataKey id);

    int updateByPrimaryKeySelective(DeviceElectricRunningData record);

    int updateByPrimaryKey(DeviceElectricRunningData record);
    int foreachInsert(List<DeviceElectricRunningData> list);
    List<DeviceElectricRunningData> findWhereList(@Param("where")String where, @Param("order")String order);

}